<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Decorator</title>
</head>
<body>
    <script type="module">
        @testAble
        class myAbleClass{}

        function testAble(cls){
            cls.proto=new Object();
        }

        console.log(myAbleClass.proto);
    </script>
</body>
</html>